package com.smart.milvus.annotation;

import com.smart.milvus.autoconfigure.MilvusClientScannerRegistrar;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({MilvusClientScannerRegistrar.class})
public @interface MilvusMapperScan {
    @AliasFor("basePackages")
    String[] value() default {};

    @AliasFor("value")
    String[] basePackages() default {};

    Class<?>[] basePackageClasses() default {};

    String lazyInitialization() default "";

    String defaultScope() default "";
}
